﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace NaviCar.Models
{
    public class LoginPessoa
    {
        [Required(AllowEmptyStrings = false, ErrorMessageResourceType = (typeof(Framework.Comum.Recursos.Mensagens)), ErrorMessageResourceName = "A007")]
        [StringLength(15)]
        public string Login { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessageResourceType = (typeof(Framework.Comum.Recursos.Mensagens)), ErrorMessageResourceName = "A007")]
        [StringLength(100)]
        [DataType(DataType.Password)]
        public string Senha { get; set; }
    }
}